#ifndef EQUIPMENT_H
#define EQUIPMENT_H

#include <QWidget>
#include <QtGui>
#include <dialog.h>

class Equipment : public QWidget
{
    Q_OBJECT
public:
    explicit Equipment(QWidget *parent = 0);
    
signals:
protected:
     bool eventFilter(QObject *obj, QEvent *event);
public slots:
    //void Comequi_clicked(QString src);
    void List_changed(QString str);
    void Set_I();
private:

    Dialog *theKeyBoard;
    QTabWidget *tabWidget;

    QGroupBox *Load_box ;
    QGroupBox *Calibration_box;
    QGroupBox *internal_box;
    //************************校验仪检定****************************//
        void Calibration_verification();
        QComboBox *Comequi;
        QLineEdit *bcEdit;
        QLineEdit *jcEdit;
        QLineEdit *bfbEdit;
        QLineEdit *edIEdit;
        QRadioButton *range10;
        QRadioButton *range1;
        QRadioButton *range01;
        QWidget *calwidget;
        QRadioButton *test1A;
        QRadioButton *test5A;
        QButtonGroup *grop1;
        QButtonGroup *grop2;
    //************************负荷箱校准*******************************//
        void Load_box_calibration();
        QWidget *lodwidget;
        QLineEdit *Iedit;
        QLineEdit *Pedit;
        QLineEdit *FHedit;
        QLabel *Rlabel;

        QLineEdit *eddzEdit;
        QLineEdit *eddkEdit;
        QLineEdit *scbfdEdit;
        QLineEdit *scdzEdit;
        QLineEdit *scdkEdit;
        QLineEdit *scfhEdit;

    //************************内部标准*******************************//
        void Internal_tandard();
        QWidget *tandwidget;
        QListWidget *listwidget1;
        QListWidget *listwidget2;
        QLabel *tandardlabel;
        QLineEdit *tandardEdit1;
        //QLineEdit *tandardEdit2;
        QComboBox *tandardcom;
};

#endif // EQUIPMENT_H
